192
|
How do I display radio buttons for all cells in the column

with ComboBox1 do
begin
(IUnknown(Columns.Add('Radio')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasRadioButton] := OleVariant(True);
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
191
|
How do I display checkboxes for all cells in the column

with ComboBox1 do
begin
(IUnknown(Columns.Add('Check')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
247
|
How do I display as strikeout an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
ItemStrikeOut[AddItem('strikeout')] := True;
end;
end
|
248
|
How do I display as strikeout a cell or an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellCaptionFormat[OleVariant(AddItem('gets <s>strikeout</s> only a portion of text')),OleVariant(0)] := EXCOMBOBOXLib_TLB.exHTML;
end;
end
|
249
|
How do I display as strikeout a cell

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellStrikeOut[OleVariant(AddItem('strikeout')),OleVariant(0)] := True;
end;
end
|
241
|
How do I display as italic an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
ItemItalic[AddItem('italic')] := True;
end;
end
|
242
|
How do I display as italic a cell or an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellCaptionFormat[OleVariant(AddItem('gets <i>italic</i> only a portion of text')),OleVariant(0)] := EXCOMBOBOXLib_TLB.exHTML;
end;
end
|
243
|
How do I display as italic a cell

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellItalic[OleVariant(AddItem('italic')),OleVariant(0)] := True;
end;
end
|
90
|
How do I disable the full-row selection in the control

with ComboBox1 do
begin
FullRowSelect := False;
Columns.Add('Column');
Items.AddItem('One');
Items.AddItem('Two');
end
|
113
|
How do I disable the control

with ComboBox1 do
begin
Enabled := False;
end
|
80
|
How do I disable sorting the columns when clicking the control's header

with ComboBox1 do
begin
SortOnClick := EXCOMBOBOXLib_TLB.exNoSort;
Columns.Add('1');
Columns.Add('2');
end
|
81
|
How do I disable sorting a specified column when clicking its header

with ComboBox1 do
begin
Columns.Add('1');
(IUnknown(Columns.Add('NoSort')) as EXCOMBOBOXLib_TLB.Column).AllowSort := False;
end
|
118
|
How do I disable showing the tooltip for all control
with ComboBox1 do
begin
ToolTipDelay := 0;
(IUnknown(Columns.Add('tootip')) as EXCOMBOBOXLib_TLB.Column).ToolTip := 'this is a tooltip assigned to a column';
end
|
178
|
How do I disable resizing a column at runtime

with ComboBox1 do
begin
(IUnknown(Columns.Add('Unsizable')) as EXCOMBOBOXLib_TLB.Column).AllowSizing := False;
Columns.Add('C2');
Columns.Add('C3');
Columns.Add('C4');
end
|
250
|
How do I disable or enable an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
EnableItem[AddItem('disabled')] := False;
end;
Items.AddItem('enabled');
end
|
179
|
How do I disable drag and drop columns

with ComboBox1 do
begin
(IUnknown(Columns.Add('C1')) as EXCOMBOBOXLib_TLB.Column).AllowDragging := False;
(IUnknown(Columns.Add('C2')) as EXCOMBOBOXLib_TLB.Column).AllowDragging := False;
end
|
51
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
HasButtons := EXCOMBOBOXLib_TLB.exWPlus;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
266
|
How do I change the visual effect for the cell, using your EBN files

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Columns.Add('C1');
Columns.Add('C2');
with Items do
begin
h := AddItem('Cell 1');
CellCaption[OleVariant(h),OleVariant(1)] := 'Cell 2';
CellBackColor[OleVariant(h),OleVariant(1)] := $1000000;
end;
end
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
Background[EXCOMBOBOXLib_TLB.exHSThumb] := $1000000;
Background[EXCOMBOBOXLib_TLB.exHSThumbP] := $2000000;
Background[EXCOMBOBOXLib_TLB.exHSThumbH] := $3000000;
ColumnAutoResize := False;
(IUnknown(Columns.Add('S')) as EXCOMBOBOXLib_TLB.Column).Width := 483;
end
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Background[EXCOMBOBOXLib_TLB.exHeaderFilterBarButton] := $1000000;
(IUnknown(Columns.Add('Filter')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
end
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
Background[EXCOMBOBOXLib_TLB.exDateHeader] := $1000000;
Background[EXCOMBOBOXLib_TLB.exDateTodayUp] := $1000000;
Background[EXCOMBOBOXLib_TLB.exDateTodayDown] := $2000000;
Background[EXCOMBOBOXLib_TLB.exDateScrollThumb] := $1000000;
Background[EXCOMBOBOXLib_TLB.exDateScrollRange] := $e6e6e6;
Background[EXCOMBOBOXLib_TLB.exDateSeparatorBar] := $e6e6e6;
Background[EXCOMBOBOXLib_TLB.exDateSelect] := $1000000;
with (IUnknown(Columns.Add('Date')) as EXCOMBOBOXLib_TLB.Column) do
begin
FilterType := EXCOMBOBOXLib_TLB.exDate;
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
end
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Background[EXCOMBOBOXLib_TLB.exFooterFilterBarButton] := $1000000;
(IUnknown(Columns.Add('Filter')) as EXCOMBOBOXLib_TLB.Column).FilterType := EXCOMBOBOXLib_TLB.exBlanks;
ApplyFilter();
end
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Background[EXCOMBOBOXLib_TLB.exSelBackColorFilter] := $1000000;
Background[EXCOMBOBOXLib_TLB.exSelForeColorFilter] := $1414ff;
(IUnknown(Columns.Add('Filter')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
end
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
Background[EXCOMBOBOXLib_TLB.exCellButtonUp] := $1000000;
Background[EXCOMBOBOXLib_TLB.exSizeGrip] := $2000000;
SelForeColor := RGB(0,0,0);
ShowFocusRect := False;
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasButton] := OleVariant(True);
Items.AddItem('Button 1');
Items.AddItem('Button 2');
Columns.Add('Column 2');
end
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
Background[EXCOMBOBOXLib_TLB.exHSThumb] := $1000000;
Background[EXCOMBOBOXLib_TLB.exHSThumbP] := $2000000;
Background[EXCOMBOBOXLib_TLB.exHSThumbH] := $3000000;
Background[EXCOMBOBOXLib_TLB.exVSThumb] := $1000000;
Background[EXCOMBOBOXLib_TLB.exVSThumbP] := $2000000;
Background[EXCOMBOBOXLib_TLB.exVSThumbH] := $3000000;
ColumnAutoResize := False;
ScrollBySingleLine := True;
(IUnknown(Columns.Add('S')) as EXCOMBOBOXLib_TLB.Column).Width := 483;
with Items do
begin
ItemHeight[AddItem('Item 1')] := 248;
end;
Items.AddItem('Item 2');
end
|
236
|
How do I change the visual appearance for the item, using your EBN technology

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Columns.Add('Default');
with Items do
begin
h := AddItem('Root');
hC := InsertItem(h,Null,'Child 1');
ItemBackColor[hC] := $1000000;
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
end
|
98
|
How do I change the visual appearance effect for the selected item, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
SelBackColor := $1000000;
SelForeColor := RGB(0,0,0);
ShowFocusRect := False;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
335
|
How do I change the text in the edit or label area

with ComboBox1 do
begin
Columns.Add('Column');
with Items do
begin
AddItem('Item 3');
AddItem('Item 1');
AddItem('Item 2');
end;
EditText[OleVariant(0)] := 'Test';
end
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

with ComboBox1 do
begin
ConditionalFormats.Add('%0 >= 2 and %0 <= 10',Null).ForeColor := $ff;
Columns.Add('Numbers');
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
Items.AddItem(OleVariant(10));
Items.AddItem(OleVariant(20));
end
|
156
|
How do I change the item's background color for numbers less than a value

with ComboBox1 do
begin
ConditionalFormats.Add('%0 < 10',Null).BackColor := $ff;
Columns.Add('Numbers');
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
Items.AddItem(OleVariant(10));
Items.AddItem(OleVariant(20));
end
|
102
|
How do I change the height of the control's filterbar

with ComboBox1 do
begin
FilterBarHeight := 32;
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
251
|
How do I change the height of an item

with ComboBox1 do
begin
ScrollBySingleLine := True;
Columns.Add('Default');
with Items do
begin
ItemHeight[AddItem('height')] := 128;
end;
Items.AddItem('enabled');
end
|
101
|
How do I change the header's foreground color

with ComboBox1 do
begin
HeaderForeColor := RGB(255,0,0);
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem('Item 1');
end
|
103
|
How do I change the foreground color of the control's filterbar

with ComboBox1 do
begin
FilterBarForeColor := RGB(255,0,0);
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
237
|
How do I change the foreground color for the item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
h := AddItem('Root');
hC := InsertItem(h,Null,'Child 1');
ItemForeColor[hC] := $ff;
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
end
|
106
|
How do I change the font of the control's filterbar

with ComboBox1 do
begin
FilterBarFont.Size := 20;
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
568
|
How do I change the drop down filter icon/button (black)

with ComboBox1 do
begin
BeginUpdate();
with VisualAppearance do
begin
Add(1,'gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQg' +
'mPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYThd' +
'r4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA');
end;
Background[EXCOMBOBOXLib_TLB.exCursorHoverColumn] := $ffffffff;
Background[EXCOMBOBOXLib_TLB.exHeaderFilterBarButton] := $1000000;
Background[EXCOMBOBOXLib_TLB.exBackColorFilter] := $10000;
Background[EXCOMBOBOXLib_TLB.exForeColorFilter] := $ffffff;
Description[EXCOMBOBOXLib_TLB.exFilterBarExclude] := '<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>';
HeaderAppearance := EXCOMBOBOXLib_TLB.None2;
HeaderBackColor := RGB(0,0,0);
HeaderForeColor := RGB(255,255,255);
HeaderVisible := True;
with (IUnknown(Columns.Add('Filter')) as EXCOMBOBOXLib_TLB.Column) do
begin
FilterList := Integer(EXCOMBOBOXLib_TLB.exShowExclude) Or Integer(EXCOMBOBOXLib_TLB.exShowCheckBox);
DisplayFilterButton := True;
AllowSort := False;
AllowDragging := False;
end;
with Items do
begin
AddItem('One');
AddItem('Two');
AddItem('Three');
end;
EndUpdate();
end
|
86
|
How do I change the control's foreground color

with ComboBox1 do
begin
ForeColor := RGB(120,120,120);
Columns.Add('Column');
Items.AddItem('item');
end
|
322
|
How do I change the control's border, using your EBN files

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Appearance := EXCOMBOBOXLib_TLB.AppearanceEnum($1000000);
end
|
85
|
How do I change the control's background color

with ComboBox1 do
begin
BackColor := RGB(200,200,200);
end
|
87
|
How do I change the control's background / foreground color on the locked area

with ComboBox1 do
begin
CountLockedColumns := 1;
ForeColorLock := RGB(240,240,240);
BackColorLock := RGB(128,128,128);
ColumnAutoResize := False;
(IUnknown(Columns.Add('Locked')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 1')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 2')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 3')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
with Items do
begin
CellCaption[OleVariant(AddItem('locked')),OleVariant(1)] := 'unlocked';
end;
end
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

with ComboBox1 do
begin
with ConditionalFormats.Add('%0 >= 2 and %0 <= 10',Null) do
begin
Bold := True;
ForeColor := $ff;
ApplyTo := EXCOMBOBOXLib_TLB.FormatApplyToEnum($1);
end;
Columns.Add('N1');
Columns.Add('N2');
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(1))),OleVariant(1)] := OleVariant(2);
end;
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(3))),OleVariant(1)] := OleVariant(3);
end;
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(10))),OleVariant(1)] := OleVariant(11);
end;
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(13))),OleVariant(1)] := OleVariant(31);
end;
SearchColumnIndex := 1;
end
|
175
|
How do I change the column's caption

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).Caption := 'new caption';
end
|
97
|
How do I change the colors for the selected item

with ComboBox1 do
begin
SelBackColor := RGB(0,0,0);
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
267
|
How do I change the cell's foreground color

with ComboBox1 do
begin
Columns.Add('C1');
Columns.Add('C2');
with Items do
begin
h := AddItem('Cell 1');
CellCaption[OleVariant(h),OleVariant(1)] := 'Cell 2';
CellForeColor[OleVariant(h),OleVariant(1)] := $ff;
end;
end
|
265
|
How do I change the cell's background color

with ComboBox1 do
begin
Columns.Add('C1');
Columns.Add('C2');
with Items do
begin
h := AddItem('Cell 1');
CellCaption[OleVariant(h),OleVariant(1)] := 'Cell 2';
CellBackColor[OleVariant(h),OleVariant(1)] := $ff;
end;
end
|
264
|
How do I change the caption or value for a particular cell

with ComboBox1 do
begin
Columns.Add('C1');
Columns.Add('C2');
with Items do
begin
CellCaption[OleVariant(AddItem('Cell 1')),OleVariant(1)] := 'Cell 2';
end;
end
|
115
|
How do I change the caption being displayed in the control's filter bar

with ComboBox1 do
begin
FilterBarCaption := 'your filter caption';
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
104
|
How do I change the background color of the control's filterbar

with ComboBox1 do
begin
FilterBarBackColor := RGB(240,240,240);
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
235
|
How do I change the background color for the item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
h := AddItem('Root');
hC := InsertItem(h,Null,'Child 1');
ItemBackColor[hC] := $ff;
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
end
|
33
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
Description[EXCOMBOBOXLib_TLB.exFilterBarAll] := 'new name for (All)';
end
|
111
|
How do I call your x-script language

with ComboBox1 do
begin
with (IUnknown(ExecuteTemplate('Columns.Add(`Column`)')) as EXCOMBOBOXLib_TLB.Column) do
begin
HeaderStrikeOut := True;
HeaderBold := True;
end;
end
|
110
|
How do I call your x-script language

with ComboBox1 do
begin
Template := 'Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`';
end
|
238
|
How do I bold an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
ItemBold[AddItem('bold')] := True;
end;
end
|
239
|
How do I bold a cell or an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellCaptionFormat[OleVariant(AddItem('gets <b>bold</b> only a portion of text')),OleVariant(0)] := EXCOMBOBOXLib_TLB.exHTML;
end;
end
|
240
|
How do I bold a cell

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
CellBold[OleVariant(AddItem('bold')),OleVariant(0)] := True;
end;
end
|
233
|
How do I associate an extra data to an item

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
ItemData[AddItem('item')] := 'your extra data';
end;
end
|
163
|
How do I assign an icon to the button in the scrollbar

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
ScrollPartVisible[EXCOMBOBOXLib_TLB.exHScroll,EXCOMBOBOXLib_TLB.exLeftB1Part] := True;
ScrollPartCaption[EXCOMBOBOXLib_TLB.exHScroll,EXCOMBOBOXLib_TLB.exLeftB1Part] := '<img>1</img>';
ScrollHeight := 18;
ScrollButtonWidth := 18;
end
|
164
|
How do I assign a tooltip to a scrollbar

with ComboBox1 do
begin
ScrollToolTip[EXCOMBOBOXLib_TLB.exHScroll] := 'This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar';
ColumnAutoResize := False;
(IUnknown(Columns.Add('C1')) as EXCOMBOBOXLib_TLB.Column).Width := 256;
(IUnknown(Columns.Add('C2')) as EXCOMBOBOXLib_TLB.Column).Width := 256;
(IUnknown(Columns.Add('C3')) as EXCOMBOBOXLib_TLB.Column).Width := 256;
end
|
578
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects (MDB,JET)

with ComboBox1 do
begin
BeginUpdate();
ColumnAutoResize := False;
rs := (IUnknown(ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset'))) as ADODB_TLB.Recordset);
with rs do
begin
Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB',3,3,Null);
end;
DataSource := (IUnknown(rs) as ADODB_TLB.Recordset);
EndUpdate();
end
|
99
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

with ComboBox1 do
begin
ColumnAutoResize := False;
rs := (IUnknown(ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset'))) as ADODB_TLB.Recordset);
with rs do
begin
Open('Orders','Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB',3,3,Null);
end;
DataSource := (IUnknown(rs) as ADODB_TLB.Recordset);
end
|
200
|
How do I arrange my columns on multiple lines

with ComboBox1 do
begin
HeaderHeight := 32;
(IUnknown(Columns.Add('')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := 'Line 1<br>Line 2';
end
|
201
|
How do I arrange my columns on multiple levels

with ComboBox1 do
begin
(IUnknown(Columns.Add('S')) as EXCOMBOBOXLib_TLB.Column).Width := 32;
(IUnknown(Columns.Add('Level 2')) as EXCOMBOBOXLib_TLB.Column).LevelKey := OleVariant(1);
(IUnknown(Columns.Add('Level 3')) as EXCOMBOBOXLib_TLB.Column).LevelKey := OleVariant(1);
(IUnknown(Columns.Add('Level 4')) as EXCOMBOBOXLib_TLB.Column).LevelKey := OleVariant(1);
(IUnknown(Columns.Add('Level 1')) as EXCOMBOBOXLib_TLB.Column).LevelKey := '2';
(IUnknown(Columns.Add('Level 2')) as EXCOMBOBOXLib_TLB.Column).LevelKey := '2';
(IUnknown(Columns.Add('Level 3')) as EXCOMBOBOXLib_TLB.Column).LevelKey := '2';
(IUnknown(Columns.Add('Level 4')) as EXCOMBOBOXLib_TLB.Column).LevelKey := '2';
(IUnknown(Columns.Add('E')) as EXCOMBOBOXLib_TLB.Column).Width := 32;
end
|
303
|
How do I apply HTML format to a cell

with ComboBox1 do
begin
TreeColumnIndex := -1;
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
HTMLPicture['p1'] := 'c:\exontrol\images\zipdisk.gif';
HTMLPicture['p2'] := 'c:\exontrol\images\auction.gif';
Columns.Add('Default');
with Items do
begin
h := AddItem('The following item shows some of the HTML format supported:');
CellHAlignment[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.CenterAlignment;
h := AddItem('<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <u' +
'>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor' +
'</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ');
CellCaptionFormat[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.exHTML;
CellSingleLine[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.exCaptionWordWrap;
end;
end
|
182
|
How do I align the icon in the column's header to the right

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with (IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column) do
begin
HeaderImage := 1;
HeaderImageAlignment := EXCOMBOBOXLib_TLB.RightAlignment;
end;
end
|
346
|
How do change the visual appearance for the drop down border, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
DropDownBorder := EXCOMBOBOXLib_TLB.AppearanceEnum($1000000);
end
|
70
|
How do change the visual appearance for the control's header bar, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
HeaderBackColor := $1000000;
end
|
197
|
How do change the vertical alignment for all cells in the column

with ComboBox1 do
begin
(IUnknown(Columns.Add('MultipleLine')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellSingleLine] := OleVariant(False);
(IUnknown(Columns.Add('VAlign')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellVAlignment] := OleVariant(2);
with Items do
begin
CellCaption[OleVariant(AddItem('This is a bit of long text that should break the line')),OleVariant(1)] := 'bottom';
end;
with Items do
begin
CellCaption[OleVariant(AddItem('This is a bit of long text that should break the line')),OleVariant(1)] := 'bottom';
end;
end
|
196
|
How do change the foreground color for all cells in the column

with ComboBox1 do
begin
(IUnknown(Columns.Add('ForeColor')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellForeColor] := OleVariant(255);
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
195
|
How do change the background color for all cells in the column

with ComboBox1 do
begin
(IUnknown(Columns.Add('BackColor')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellBackColor] := OleVariant(255);
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
5
|
How can I use HTML format in column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn';
end
|
28
|
How can I underline the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HeaderUnderline := True;
end
|
213
|
How can I underline all cells in the column

with ComboBox1 do
begin
var_ConditionalFormat := ConditionalFormats.Add('1',Null);
with var_ConditionalFormat do
begin
Underline := True;
ApplyTo := EXCOMBOBOXLib_TLB.exFormatToColumns;
end;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Auto')) as EXCOMBOBOXLib_TLB.Column) do
begin
WidthAutoResize := True;
MinWidthAutoResize := 32;
end;
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Auto')) as EXCOMBOBOXLib_TLB.Column) do
begin
WidthAutoResize := True;
MinWidthAutoResize := 32;
MaxWidthAutoResize := 128;
end;
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
441
|
How can I specify the format for negative numbers

with ComboBox1 do
begin
BeginUpdate();
(IUnknown(Columns.Add('Def')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellCaptionFormat] := OleVariant(1);
with Items do
begin
h := AddItem(OleVariant(-100000.27));
FormatCell[OleVariant(h),OleVariant(0)] := '(value format '''') + '' <fgcolor=808080>(default)''';
h := AddItem(OleVariant(-100000.27));
FormatCell[OleVariant(h),OleVariant(0)] := '(value format ''||||1'') + '' <fgcolor=808080>(Negative sign, number; for example, -1.1)''';
end;
EndUpdate();
end
|
432
|
How can I specify an item to be always the last item

with ComboBox1 do
begin
BeginUpdate();
TreeColumnIndex := -1;
(IUnknown(Columns.Add('Numbers')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortNumeric;
with Items do
begin
AddItem(OleVariant(1));
AddItem(OleVariant(2));
AddItem(OleVariant(3));
AddItem(OleVariant(4));
h := AddItem('last');
CellHAlignment[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.RightAlignment;
SortableItem[h] := False;
SortChildren(0,OleVariant(0),True);
end;
EndUpdate();
end
|
433
|
How can I specify an item to be always the first item

with ComboBox1 do
begin
BeginUpdate();
TreeColumnIndex := -1;
(IUnknown(Columns.Add('Numbers')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortNumeric;
with Items do
begin
AddItem(OleVariant(1));
AddItem(OleVariant(2));
AddItem(OleVariant(3));
AddItem(OleVariant(4));
h := AddItem('first');
ItemPosition[h] := 0;
CellHAlignment[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.RightAlignment;
SortableItem[h] := False;
SortChildren(0,OleVariant(0),False);
end;
EndUpdate();
end
|
530
|
How can I specify alternate background colors for each root item, similar with BackColorAlternate

with ComboBox1 do
begin
BeginUpdate();
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
with (IUnknown(Columns.Add('Default')) as EXCOMBOBOXLib_TLB.Column) do
begin
Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
PartialCheck := True;
end;
with (IUnknown(Columns.Add('Position')) as EXCOMBOBOXLib_TLB.Column) do
begin
FormatColumn := '( ( 1:=( ( 0:=(1 rpos '''') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )';
Visible := False;
end;
with ConditionalFormats.Add('%C1 mod 2',Null) do
begin
BackColor := $f0f0f0;
end;
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
h := AddItem('Root 3');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
end;
EndUpdate();
end
|
355
|
How can I sort the value gets listed in the drop down filter window

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
MarkSearchColumn := False;
Description[EXCOMBOBOXLib_TLB.exFilterBarAll] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarBlanks] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarNonBlanks] := '';
with (IUnknown(Columns.Add('P1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterPattern := False;
FilterList := EXCOMBOBOXLib_TLB.exSortItemsDesc;
end;
with (IUnknown(Columns.Add('P2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterPattern := False;
FilterList := EXCOMBOBOXLib_TLB.exSortItemsAsc;
end;
with Items do
begin
h := AddItem('Z3');
CellCaption[OleVariant(h),OleVariant(1)] := 'C';
CellCaption[OleVariant(InsertItem(h,Null,'Z1')),OleVariant(1)] := 'B';
CellCaption[OleVariant(InsertItem(h,Null,'Z2')),OleVariant(1)] := 'A';
ExpandItem[h] := True;
end;
end
|
230
|
How can I sort the items

with ComboBox1 do
begin
Columns.Add('Default');
with Items do
begin
h := AddItem('Root');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
Columns.Item['Default'].SortOrder := EXCOMBOBOXLib_TLB.SortDescending;
end
|
136
|
How can I sort by multiple columns

with ComboBox1 do
begin
SingleSort := False;
(IUnknown(Columns.Add('C1')) as EXCOMBOBOXLib_TLB.Column).SortOrder := EXCOMBOBOXLib_TLB.SortAscending;
(IUnknown(Columns.Add('C2')) as EXCOMBOBOXLib_TLB.Column).SortOrder := EXCOMBOBOXLib_TLB.SortDescending;
(IUnknown(Columns.Add('C3')) as EXCOMBOBOXLib_TLB.Column).SortOrder := EXCOMBOBOXLib_TLB.SortAscending;
end
|
434
|
How can I simulate displaying groups

with ComboBox1 do
begin
HasLines := EXCOMBOBOXLib_TLB.exNoLine;
ScrollBySingleLine := True;
with Columns do
begin
Add('Name');
Add('A');
Add('B');
Add('C');
end;
with Items do
begin
h := AddItem('Group 1');
CellHAlignment[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.CenterAlignment;
ItemDivider[h] := 0;
ItemDividerLineAlignment[h] := EXCOMBOBOXLib_TLB.DividerBoth;
ItemHeight[h] := 24;
SortableItem[h] := False;
h1 := InsertItem(h,Null,'Child 1');
CellCaption[OleVariant(h1),OleVariant(1)] := OleVariant(1);
CellCaption[OleVariant(h1),OleVariant(2)] := OleVariant(2);
CellCaption[OleVariant(h1),OleVariant(3)] := OleVariant(3);
h1 := InsertItem(h,Null,'Child 2');
CellCaption[OleVariant(h1),OleVariant(1)] := OleVariant(4);
CellCaption[OleVariant(h1),OleVariant(2)] := OleVariant(5);
CellCaption[OleVariant(h1),OleVariant(3)] := OleVariant(6);
ExpandItem[h] := True;
h := AddItem('Group 2');
CellHAlignment[OleVariant(h),OleVariant(0)] := EXCOMBOBOXLib_TLB.CenterAlignment;
ItemDivider[h] := 0;
ItemDividerLineAlignment[h] := EXCOMBOBOXLib_TLB.DividerBoth;
ItemHeight[h] := 24;
SortableItem[h] := False;
h1 := InsertItem(h,Null,'Child 1');
CellCaption[OleVariant(h1),OleVariant(1)] := OleVariant(1);
CellCaption[OleVariant(h1),OleVariant(2)] := OleVariant(2);
CellCaption[OleVariant(h1),OleVariant(3)] := OleVariant(3);
h1 := InsertItem(h,Null,'Child 2');
CellCaption[OleVariant(h1),OleVariant(1)] := OleVariant(4);
CellCaption[OleVariant(h1),OleVariant(2)] := OleVariant(5);
CellCaption[OleVariant(h1),OleVariant(3)] := OleVariant(6);
ExpandItem[h] := True;
end;
end
|
128
|
How can I show the locked / fixed items on the bottom side of the control

with ComboBox1 do
begin
ShowLockedItems := True;
Columns.Add('Column');
with Items do
begin
LockedItemCount[EXCOMBOBOXLib_TLB.exMiddle] := 2;
CellCaption[OleVariant(LockedItem[EXCOMBOBOXLib_TLB.exMiddle,0]),OleVariant(0)] := 'locked item 1';
CellCaption[OleVariant(LockedItem[EXCOMBOBOXLib_TLB.exMiddle,1]),OleVariant(0)] := 'locked item 2';
AddItem('un-locked item');
end;
end
|
127
|
How can I show the locked / fixed items

with ComboBox1 do
begin
ShowLockedItems := True;
Columns.Add('Column');
with Items do
begin
LockedItemCount[EXCOMBOBOXLib_TLB.exTop] := 2;
CellCaption[OleVariant(LockedItem[EXCOMBOBOXLib_TLB.exTop,0]),OleVariant(0)] := 'locked item 1';
CellCaption[OleVariant(LockedItem[EXCOMBOBOXLib_TLB.exTop,1]),OleVariant(0)] := 'locked item 2';
AddItem('un-locked item');
end;
end
|
336
|
How can I show the drop down window as soon as user starts typing in the control

with ComboBox1 do
begin
AutoDropDown := True;
Columns.Add('Column');
with Items do
begin
AddItem('Item 3');
AddItem('Item 1');
AddItem('Item 2');
end;
end
|
125
|
How can I show the control's sort bar

with ComboBox1 do
begin
SortBarVisible := True;
end
|
55
|
How can I show the control's grid lines only for added/visible items

with ComboBox1 do
begin
MarkSearchColumn := False;
DrawGridLines := EXCOMBOBOXLib_TLB.exRowLines;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
17
|
How can I show the control's grid lines

with ComboBox1 do
begin
MarkSearchColumn := False;
DrawGridLines := EXCOMBOBOXLib_TLB.exAllLines;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
449
|
How can I show the child items with no identation

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesOutside;
Indent := 12;
HasLines := EXCOMBOBOXLib_TLB.exThinLine;
Columns.Add('Default');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
InsertItem(h,Null,'Child 3');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
InsertItem(h,Null,'Child 3');
end;
end
|
12
|
How can I show or hide a column

with ComboBox1 do
begin
(IUnknown(Columns.Add('Hidden')) as EXCOMBOBOXLib_TLB.Column).Visible := False;
end
|
204
|
How can I show or display the control's filter

with ComboBox1 do
begin
(IUnknown(Columns.Add('Filter')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
end
|
480
|
How can I show only the matching items, while user types in the drop down control

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
procedure TForm1.ComboBox1EditChange(ASender: TObject; ColIndex : Integer);
begin
with ComboBox1 do
begin
sLabel := EditText[OleVariant(ColIndex)];
OutputDebugString( 'Select the item that maches exactly the typing label: ' );
OutputDebugString( sLabel );
with Items do
begin
SelectItem[FocusItem] := False;
SelectItem[FindItem[OleVariant(sLabel),OleVariant(ColIndex),Null]] := True;
end;
end
end;
with ComboBox1 do
begin
BeginUpdate();
SingleEdit := True;
AutoComplete := False;
AutoSelect := False;
AutoSearch := False;
AutoDropDown := True;
IntegralHeight := True;
HeaderVisible := False;
Columns.Add('Friends');
with Items do
begin
AddItem('Fred');
AddItem('Tina');
AddItem('Tom');
end;
EndUpdate();
end
|
212
|
How can I show in italic all data in the column

with ComboBox1 do
begin
var_ConditionalFormat := ConditionalFormats.Add('1',Null);
with var_ConditionalFormat do
begin
Italic := True;
ApplyTo := EXCOMBOBOXLib_TLB.exFormatToColumns;
end;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
214
|
How can I show as strikeout all cells in the column

with ComboBox1 do
begin
var_ConditionalFormat := ConditionalFormats.Add('1',Null);
with var_ConditionalFormat do
begin
StrikeOut := True;
ApplyTo := EXCOMBOBOXLib_TLB.exFormatToColumns;
end;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
208
|
How can I show a column that adds values in the cells

with ComboBox1 do
begin
Columns.Add('A');
Columns.Add('B');
(IUnknown(Columns.Add('A+B')) as EXCOMBOBOXLib_TLB.Column).ComputedField := '%0 + %1';
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(1))),OleVariant(1)] := OleVariant(2);
end;
with Items do
begin
CellCaption[OleVariant(AddItem(OleVariant(10))),OleVariant(1)] := OleVariant(20);
end;
end
|
600
|
How can I replace or add an icon at runtime

with ComboBox1 do
begin
BeginUpdate();
ReplaceIcon('gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+Ok' +
'YB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==',Null);
ReplaceIcon('C:\images\favicon.ico',OleVariant(0));
(IUnknown(Columns.Add('Items')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellCaptionFormat] := OleVariant(1);
Items.AddItem('Item <img>1</img>');
EndUpdate();
end
|
350
|
How can I remove the filter

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
ClearFilter();
end
|
227
|
How can I remove or delete an item

with ComboBox1 do
begin
Columns.Add('Default');
h := Items.AddItem('removed item');
Items.RemoveItem(h);
end
|
228
|
How can I remove or delete all items

with ComboBox1 do
begin
Columns.Add('Default');
Items.AddItem('removed item');
Items.RemoveAllItems();
end
|